package com.ruoyi.lm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务分类对象 lm_serinfotype
 * 
 * @author ruoyi
 * @date 2020-09-02
 */
public class LmSerinfotype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String serviceName;

    /** 上级服务名称 */
    @Excel(name = "上级服务名称")
    private String parentServiceName;

    /** 是否热门服务（0是1否） */
    @Excel(name = "是否热门服务", readConverterExp = "0=是1否")
    private String isHot;

    /** 服务代码 */
    @Excel(name = "服务代码")
    private String serviceCode;

    /** 服务代码 */
    @Excel(name = "服务代码")
    private String level;

    /** 父id */
    @Excel(name = "父id")
    private String fid;

    /** 该分类下服务数量 */
    @Excel(name = "该分类下服务数量")
    private int serviceCount;


    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setServiceName(String serviceName) 
    {
        this.serviceName = serviceName;
    }

    public String getServiceName() 
    {
        return serviceName;
    }
    public void setIsHot(String isHot) 
    {
        this.isHot = isHot;
    }

    public String getIsHot() 
    {
        return isHot;
    }
    public void setServiceCode(String serviceCode) 
    {
        this.serviceCode = serviceCode;
    }

    public String getServiceCode() 
    {
        return serviceCode;
    }
    public void setFid(String fid) 
    {
        this.fid = fid;
    }

    public String getFid() 
    {
        return fid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceName", getServiceName())
            .append("isHot", getIsHot())
            .append("serviceCode", getServiceCode())
            .append("fid", getFid())
            .toString();
    }

    public String getParentServiceName() {
        return parentServiceName;
    }

    public void setParentServiceName(String parentServiceName) {
        this.parentServiceName = parentServiceName;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public int getServiceCount() {
        return serviceCount;
    }

    public void setServiceCount(int serviceCount) {
        this.serviceCount = serviceCount;
    }
}
